package org.jproxy.exception;

public class CannotCastClassException extends JProxyException
{
	private static final long serialVersionUID = 8485931992326145775L;

	private Class<?> target;

	public CannotCastClassException(Class<?> target)
	{
		super(target.getName());
		this.target = target;
	}

	public Class<?> getTarget()
	{
		return target;
	}

}
